<?php $this->fetch('public/head') ?>
<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
        <li class=""><a href="<?php echo url('index') ?>">信息列表</a></li>
        <li class="layui-this">查看信息</li>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
                <div class="layui-form-item">
                    <label class="layui-form-label">头像</label>
                    <div class="layui-input-block">
                        <img src="<?php echo $rows['img_url'] ?>" alt="头像"  width="100" height="130">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['name'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">英文名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['en_name'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">出生日期</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['birthday1'].'-'.$rows['birthday2'].'-'.$rows['birthday3'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">性别</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['sex']==1?'男':'女' ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">身高</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['height'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">体重</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['weight'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">地址</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['address'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">邮箱</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['email'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">手机</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['tel'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">在读学校</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['school'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">专业</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['specialty'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">在校时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['school_start1'].'/'.$rows['school_start2'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                        -
                        <input type="text" name="" value="<?php echo $rows['school_end1'].'/'.$rows['school_end2'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">每周工作天数</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['working_hours'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <?php foreach ($rows['shixi_start'] as $key => $o): ?>
                <div class="layui-form-item">
                    <label class="layui-form-label">实习经历</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo  $rows['shixi_start'][$key];?>" required  lay-verify="required" placeholder="" class="layui-input">-<input type="text" name="wage" value="<?php echo $rows['shixi_end'][$key] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">实习公司</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['shixi_company'][$key] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">实习职位</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['shixi_zw'][$key] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">实习待遇</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['shixi_daiyu'][$key] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <?php endforeach ?>
                <div class="layui-form-item">
                    <label class="layui-form-label">语言能力</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['languages'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">求职意向</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['intention'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">自我介绍</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['introduce'] ?>" required  lay-verify="required" placeholder="" class="layui-input">
                    </div>
                </div>
                
                <div class="layui-form-item">
                    <label class="layui-form-label">更新时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="" value="<?php echo $rows['update_time'] ?>" class="layui-input">
                    </div>
                </div>
                
        </div>
    </div>
</div>
<?php $this->fetch('public/script') ?>